<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="css/my-components.css" />
    <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>

    <script src="js/vue.js"></script>
</head>
<body>
    <div id="app-23">
        <!-- 组件的引用必须在 vue 实例指定的容器中 -->
        <page-frame-scope title="标题" cr="地址">
            <template slot="slot1">
                <input /> <button>搜索</button>
            </template>
            <template slot="slot2" slot-scope="res">
                <table class="table table-bordered">
                    <tr>
                        <th>名称</th>
                        <th>网站</th>
                    </tr>
                    <tr v-for="site in res.sites">
                        <td>{{site.name}}</td>
                        <td>{{site.url}}</td>
                    </tr>
                </table>
            </template>
        </page-frame-scope>
    </div>
    <script src="js/my-components-bar-slot.js"></script>
    <script type="text/javascript">

        var vm = new Vue({
            el: '#app-23'
        })
    </script>
</body>
</html>